<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page isELIgnored="false" %> 
<%
String path = request.getContextPath();
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<link rel="stylesheet" type="text/css" href="<%=path %>/css/base.css" />
		<script type="text/javascript" src="<%=path %>/jsxx/jsxxBus.js"></script>
        <script language="javascript">
           function lxsq()
           {
                 var url="<%=path %>/xuesheng?type=lxsqAdd";
				 window.location.href=url;
           }
           
       </script>
	</head>

	<body leftmargin="2" topmargin="2" background='<%=path %>/img/allbg.gif'>			
			<table width="98%" border="0" cellpadding="2" cellspacing="1" bgcolor="#D1DDAA" align="center" style="margin-top:8px">
				<tr bgcolor="#E7E7E7">
					<td height="14" colspan="8" background="<%=path %>/img/tbg.gif">&nbsp;学生离校申请&nbsp;</td>
				</tr>
				<tr align="center" bgcolor="#FAFAF1" height="22">
					<td>流程名</td>
					<td>当前状态</td>
					<td>处理人</td>
					<td>处理时间</td>
		        </tr>	
		        
				<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
					<td bgcolor="#FFFFFF" align="center">
						教务处离校确认
					</td>
					<td bgcolor="#FFFFFF" align="center">
						${jwc.ztmc}
					</td>
					<c:if test="${jwc.zt==1}">
						<td bgcolor="#FFFFFF" align="center">
							${jwc.queren.user.xingming}
						</td>
						<td bgcolor="#FFFFFF" align="center">
							${jwc.queren.shijian}
						</td>
					</c:if>
					<c:if test="${jwc.zt==0}">
						<td bgcolor="#FFFFFF" align="center">
							&nbsp;
						</td>
						<td bgcolor="#FFFFFF" align="center">
							&nbsp;
						</td>
					</c:if>
				</tr>
		        
				<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
					<td bgcolor="#FFFFFF" align="center">
						辅导员离校确认
					</td>
					<td bgcolor="#FFFFFF" align="center">
						${fdy.ztmc}
					</td>
					<c:if test="${fdy.zt==1}">
						<td bgcolor="#FFFFFF" align="center">
							${fdy.queren.user.xingming}
						</td>
						<td bgcolor="#FFFFFF" align="center">
							${fdy.queren.shijian}
						</td>
					</c:if>
					<c:if test="${fdy.zt==0}">
						<td bgcolor="#FFFFFF" align="center">
							&nbsp;
						</td>
						<td bgcolor="#FFFFFF" align="center">
							&nbsp;
						</td>
					</c:if>
				</tr>
		        
				<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
					<td bgcolor="#FFFFFF" align="center">
						图书馆离校确认
					</td>
					<td bgcolor="#FFFFFF" align="center">
						${tsg.ztmc}
					</td>
					<c:if test="${tsg.zt==1}">
						<td bgcolor="#FFFFFF" align="center">
							${tsg.queren.user.xingming}
						</td>
						<td bgcolor="#FFFFFF" align="center">
							${tsg.queren.shijian}
						</td>
					</c:if>
					<c:if test="${tsg.zt==0}">
						<td bgcolor="#FFFFFF" align="center">
							&nbsp;
						</td>
						<td bgcolor="#FFFFFF" align="center">
							&nbsp;
						</td>
					</c:if>
				</tr>
		        
				<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
					<td bgcolor="#FFFFFF" align="center">
						宿管处离校确认
					</td>
					<td bgcolor="#FFFFFF" align="center">
						${sgc.ztmc}
					</td>
					<c:if test="${sgc.zt==1}">
						<td bgcolor="#FFFFFF" align="center">
							${sgc.queren.user.xingming}
						</td>
						<td bgcolor="#FFFFFF" align="center">
							${sgc.queren.shijian}
						</td>
					</c:if>
					<c:if test="${sgc.zt==0}">
						<td bgcolor="#FFFFFF" align="center">
							&nbsp;
						</td>
						<td bgcolor="#FFFFFF" align="center">
							&nbsp;
						</td>
					</c:if>
				</tr>
		        
				<tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='red';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22">
					<td bgcolor="#FFFFFF" align="center">
						财务处离校确认
					</td>
					<td bgcolor="#FFFFFF" align="center">
						${cwc.ztmc}
					</td>
					<c:if test="${cwc.zt==1}">
						<td bgcolor="#FFFFFF" align="center">
							${cwc.queren.user.xingming}
						</td>
						<td bgcolor="#FFFFFF" align="center">
							${cwc.queren.shijian}
						</td>
					</c:if>
					<c:if test="${cwc.zt==0}">
						<td bgcolor="#FFFFFF" align="center">
							&nbsp;
						</td>
						<td bgcolor="#FFFFFF" align="center">
							&nbsp;
						</td>
					</c:if>
				</tr>
				
			<tr align='center' bgcolor="#FFFFFF" height="22">
			  	<c:if test="${sqflag==0}">
				    <td colspan="4" align="left">
				      <input type="button" value="离校申请" style="width: 80px;" onclick="lxsq()" />
				    </td>
			    </c:if>
			  	<c:if test="${sqflag==1}">
				    <td colspan="4" align="left">
				      <font color="red">等待系办公室确认</font>
				    </td>
			    </c:if>
			  	<c:if test="${sqflag==2}">
				    <td colspan="4" align="left">
				      <font color="red">离校手续办理完成,可以离校</font>
				    </td>
			    </c:if>
			  	<c:if test="${sqflag==3}">
				    <td colspan="4" align="left">
				      <font color="red">等待确认中,当前不能申请离校</font>
				    </td>
			    </c:if>
			  </tr>
			</table>
	</body>
</html>
